<#escape x as (x)!"">
<div class="page-dialog-content">
    <div class="panel-dialog">
		<form id="infoSaveForm" action="save" method="post" class="form-horizontal form-dialog-horizontal">
			<div class="panel-dialog-body">
				<input type="hidden" name="operate" value="${operate}" >
			
				<#if info?? >
				<div class="form-group">
                    <label class="col-sm-3 control-label">字典编码：</label>
                    <div class="col-sm-6 control-value">
                    	${info.dictCode}
                    	<input type="hidden" name="dictCode" value="${info.dictCode}" />
                    </div>
                </div>
                <#else>
                <div class="form-group">
                    <label class="col-sm-3 control-label"><span class="required" aria-required="true">*</span>字典编码：</label>
                    <div class="col-sm-6">
                    	<input type="text" name="dictCode" value="${info.dictCode}" class="form-control required" maxlength="50" placeholder="请输入字典编码"/>
                    </div>
                </div>
                </#if>
                <div class="form-group">
                    <label class="col-sm-3 control-label"><span class="required" aria-required="true">*</span>字典名称：</label>
                    <div class="col-sm-6">
                    	<input type="text" name="dictName" value="${info.dictName}" class="form-control required" maxlength="60" placeholder="请输入字典名称"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">备注：</label>
                    <div class="col-sm-6">
						<textarea id="remarks" name="remarks" rows="3" cols="" maxlength="100" class="form-control " placeholder="请输入备注信息">${info.remarks}</textarea>
                    </div>
                </div>
			</div>
			
			<div class="panel-footer panel-dialog-footer">
				<div class="text-right">
					<button id="dialog-btn-save" type="submit" class="btn btn-primary">保存</button>
					<button type="button" onclick="layer.closeAll();" class="btn btn-default">取消</button>
				</div>
			</div>
		</form>
	</div>
</div>
<script type="text/javascript">
	$(function(){
		frm.submit("dialog", "infoSaveForm");
	});
</script>
</#escape>
